package com.dartfar.base.model;

import javax.persistence.MappedSuperclass;

import com.dartfar.workflow.constant.WorkflowStatusVar;

/**
 * 基础实体类
 * @author 王琦
 *
 */
@MappedSuperclass
public abstract class BaseEntity {
	
	//创建人员
	private String person;
	//创建人员ID
	private String personId;
	//所在部门
	private String depart;
	//所在部门ID
	private String departId;
	//流程挂接ID
	private String processId;
	//流程实例ID
	private String processInstanceId;
	//流程定义ID
	private String processDefinitionId;
	//流程执行状态
	private String workflowStatus = WorkflowStatusVar.NO_START;
	//创建事件
	private String createDate;
	
	public String getPerson() {
		return person;
	}
	public void setPerson(String person) {
		this.person = person;
	}
	public String getPersonId() {
		return personId;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public String getDepart() {
		return depart;
	}
	public void setDepart(String depart) {
		this.depart = depart;
	}
	public String getDepartId() {
		return departId;
	}
	public void setDepartId(String departId) {
		this.departId = departId;
	}
	public String getProcessId() {
		return processId;
	}
	public void setProcessId(String processId) {
		this.processId = processId;
	}
	public String getProcessInstanceId() {
		return processInstanceId;
	}
	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}
	public String getProcessDefinitionId() {
		return processDefinitionId;
	}
	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}
	public String getWorkflowStatus() {
		return workflowStatus;
	}
	public void setWorkflowStatus(String workflowStatus) {
		this.workflowStatus = workflowStatus;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

}
